<?php /*a:4:{s:56:"E:\wamp64\www\tp5\miqicms\app\home\view\doc\doclist.html";i:1667627215;s:56:"E:\wamp64\www\tp5\miqicms\app\home\view\public\base.html";i:1667708288;s:55:"E:\wamp64\www\tp5\miqicms\app\home\view\public\sep.html";i:1667309099;s:57:"E:\wamp64\www\tp5\miqicms\app\home\view\public\flink.html";i:1667611058;}*/ ?>
<!DOCTYPE html>
<html style="background-color: #f5f5f5;">
<head>
  <meta charset="utf-8" />
  <title><?php echo htmlentities($seoconfig['title']); ?></title>
  <meta content="<?php echo htmlentities($seoconfig['description']); ?>" name="description">
  <meta content="<?php echo htmlentities($seoconfig['keywords']); ?>" name="keywords">
  <meta name="renderer" content="webkit" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <link rel="stylesheet" type="text/css" href="http://127.0.0.1:8000/static/theme/blueideal/layui/css/layui.css" />
  <link rel="stylesheet" type="text/css" href="http://127.0.0.1:8000/static/theme/blueideal/css/global.css" />
  <link rel="stylesheet" type="text/css" href="http://127.0.0.1:8000/static/theme/blueideal/css/icon.css" />

  <style>
    .header {
      border-bottom: 1px solid #404553;
      border-right: 1px solid #404553;
    }
  </style>
</head>
<body class="fly-full">
<!-- 导航开始 -->
<div class="fly-header ">
  <!-- 粒子特效 -->
  <div id="particles-js">

  </div>
  <!-- 粒子特效结束 -->
  <div class="layui-container">
    <a class="fly-logo" href="<?php echo url('index/index'); ?>"> <img src="http://127.0.0.1:8000/static/theme/blueideal/images/logo.png" alt="layui" /> </a>
    <ul class="layui-nav fly-nav layui-hide-xs">
      <li class="layui-nav-item <?php if($modulename == 'index'): ?> layui-this<?php endif; ?>"><a href="<?php echo url('index/index'); ?>" > 首页</a></li>
      <li class="layui-nav-item <?php if($modulename == 'doclist'): ?> layui-this<?php endif; ?> layui-this</if>"> <a href="<?php echo url('doc/doclist'); ?>">全部文档</a></li>
      <li class="layui-nav-item <?php if($modulename == 'category'): ?> layui-this<?php endif; ?> layui-this</if>"> <a href="<?php echo url('doc/doccate'); ?>">分类</a></li>
      <li class="layui-nav-item <?php if($modulename == 'album'): ?> layui-this<?php endif; ?> layui-this</if>"> <a href="<?php echo url('album/index'); ?>" >专辑</a></li>
      <?php if(is_array($navlist['main']) || $navlist['main'] instanceof \think\Collection || $navlist['main'] instanceof \think\Paginator): $i = 0; $__LIST__ = $navlist['main'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <li class="layui-nav-item"> <a href="<?php echo htmlentities($vo['link']); ?>" <?php if($vo['target'] == 1): ?> target="_blank"<?php endif; ?>><?php echo htmlentities($vo['name']); ?></a></li>
      <?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
    <ul class="layui-nav fly-nav-user">
      <!-- 未登入的状态 -->
      <?php if($visitor['id'] == ''): ?>
        <li class="layui-nav-item"> <a href="<?php echo url('user/login'); ?>">登入</a> </li>
        <li class="layui-nav-item"> <a href="<?php echo url('user/register'); ?>">注册</a> </li>
      <?php endif; ?>
      <!-- 登入后的状态 -->
      <?php if($visitor['id'] > 0): ?>
        <li class="layui-nav-item">
          <a class="fly-nav-avatar" href="<?php echo url('ucenter/index'); ?>">
            <cite class="layui-hide-xs"><?php echo htmlentities(getusername($uid)); ?></cite>
            <i class="layui-badge fly-badge-vip layui-hide-xs">积分<?php echo htmlentities(getuserscore($uid)); ?></i>
            <img src="<?php echo htmlentities(getavatar($uid)); ?>">
          </a>
          <dl class="layui-nav-child">
            <dd><a href="<?php echo url('ucenter/index'); ?>"><i class="layui-icon">&#xe65e;</i>积分明细</a></dd>
            <dd><a href="<?php echo url('ucenter/index'); ?>"><i class="layui-icon">&#xe620;</i>用户中心</a></dd>
            <dd><a href="<?php echo url('ucenter/usermail'); ?>"><i class="iconfont icon-tongzhi" style="top: 4px;"></i>我的消息</a></dd>
            <dd><a href="<?php echo url('ucenter/mydoclist'); ?>"><i class="layui-icon">&#xe68e;</i>我的文档</a></dd>
            <hr style="margin: 5px 0;">
            <dd><a href="<?php echo url('user/logout'); ?>" style="text-align: center;">退出</a></dd>
          </dl>
        </li>
      <?php endif; ?>
    </ul>
  </div>

</div>
<!-- 导航结束 -->
<script type="text/javascript" src="http://127.0.0.1:8000/static/theme/blueideal/layui/layui.js"></script>
<script type="text/javascript" src="http://127.0.0.1:8000/static/theme/blueideal/layui/particles.min.js"></script>
<script type="text/javascript" src="http://127.0.0.1:8000/static/theme/blueideal/layui/app.js"></script>

<!-- 二级页次级导航结束 -->
<div class="layui-hide-xs">
    <div class="fly-panel fly-column">
        <div class="layui-container">
        <span class="layui-breadcrumb">
          <a href="<?php echo config('web_config.site_url'); ?>">首页</a>
          <?php echo getnavlist($id,$modulename,$actionname); ?>
        </span>
            <div class="fly-column-right layui-hide-xs">
                <span class="fly-search"><i class="layui-icon"></i></span>
                <a href="<?php echo url('doc/doc_share'); ?>" class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe681;</i> 上传文档</a>
            </div>
        </div>
    </div>
</div>


<!-- 广告 -->
<div class="layui-container mb20">
  <div class="banner-wrap">
    <?php $ad = ad_store(2); ?>
    <?php echo htmlspecialchars_decode($ad); ?>
    <!--矩形广告位-->
  </div>
</div>
<!-- 广告 end-->


<!-- 主体开始 -->
<div class="layui-container">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md9">
      <div class="fly-panel" style="margin-bottom: 0;">
        <div class="fly-panel-title fly-filter">
          <a href="<?php echo url('doc/doclist',array('id'=>$id, 'c' => 'newdoc')); ?>" class="<?php if($search_order == 'newdoc'): ?>layui-this<?php endif; ?>">按最新<?php if($search_order == 'newdoc'): ?><i class="layui-icon">&#xe61a;</i><?php endif; ?></a>
          <span class="fly-mid"></span>
          <a href="<?php echo url('doc/doclist',array('id'=>$id, 'c' => 'downdoc')); ?>" class="<?php if($search_order == 'downdoc'): ?>layui-this<?php endif; ?>">按下载<?php if($search_order == 'downdoc'): ?><i class="layui-icon">&#xe61a;</i><?php endif; ?></a>
          <span class="fly-mid"></span>
          <a href="<?php echo url('doc/doclist',array('id'=>$id, 'c' => 'hotdoc')); ?>" class="<?php if($search_order == 'hotdoc'): ?>layui-this<?php endif; ?>">按浏览 <?php if($search_order == 'hotdoc'): ?><i class="layui-icon">&#xe61a;</i><?php endif; ?></a>
        </div>

        <ul class="fly-list">
          <?php $list = new \app\common\taglib\ht\tagLists();$data = $list->getLists("lists","*","","$catearr","$order","0","60","20","min","max","0","0","0","0","","","0","1","0","0","0");if(empty($data['list']) || (($data['list'] instanceof \think\Collection || $data['list'] instanceof \think\Paginator ) && $data['list']->isEmpty())): ?>
              <div class="fly-none" style="min-height: 800px;">没有相关数据</div>
            <?php endif; if(is_array($data['list']) || $data['list'] instanceof \think\Collection || $data['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
              <li>
                <a href="<?php echo url('doc/doccon',array('id'=>$vo['id'])); ?>" class="fly-avatar">
                  <img src="<?php echo docfile($vo['html'],$vo['imgurl']); ?>" alt=""></a>
                <h2 class="mleft10"><a href="<?php echo url('doc/doccon',array('id'=>$vo['id'])); ?>">
                  <i class="ic ic-<?php echo htmlentities(strtolower($vo['ext'])); ?>"></i><?php echo htmlentities($vo['title']); ?></a></h2>
                <div class="fly-list-info mleft10 ">
                  <p class="intro"><?php echo htmlentities($vo['intro']); ?></p>
                  <span>贡献者：<?php echo htmlentities(getusername($vo['uid'])); ?> </span>
                  <span>时间：<?php echo htmlentities(fdate($vo['create_time'])); ?></span>
                  <span>浏览：<?php echo htmlentities($vo['hits']); ?></span>
                  <span>下载：<?php echo htmlentities($vo['downnum']); ?></span>
                </div>
                <div class="fly-list-badge">
                  <span class="layui-badge jifen">
                    <?php if($vo['score'] == 0): ?>
                     免费
                    <?php else: ?>
                    <?php echo htmlentities($vo['score']); ?><?php echo config('web_config.score_name'); ?>
                    <?php endif; ?></span>
                  <?php if($vo['top'] == 1): ?>
                  <span class="layui-badge zhiding">置顶</span>
                  <?php endif; if($vo['choice'] == 1): ?>
                    <span class="layui-badge jinghua">精华</span>
                  <?php endif; ?>
                </div>
              </li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
          
        </ul>
        <div style="text-align: center">
          <div class="laypage-main">
            <?php echo $data['page']; ?>
          </div>
        </div>

      </div>
    </div>
    <div class="layui-col-md3">
      <!-- 右侧分类 -->
      <div class="fly-panel">
        <ul class="layui-nav layui-nav-tree layui-bg-cyan layui-inline layui-collapse" lay-filter="demo" lay-accordion>
          <?php if(is_array($cate) || $cate instanceof \think\Collection || $cate instanceof \think\Paginator): $i = 0; $__LIST__ = $cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <li class="layui-nav-item layui-nav-itemed">
              <a href="javascript:;"><?php echo htmlentities($vo['name']); ?></a>
              <dl class="layui-nav-child">
                <?php if(is_array($vo['tcate']) || $vo['tcate'] instanceof \think\Collection || $vo['tcate'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['tcate'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo1): $mod = ($i % 2 );++$i;if($vo1['id'] != 0): ?>
                    <dd <?php if($vo1['id'] == $id): ?>class="layui-this"<?php endif; ?>>
                      <a href="<?php echo url('doc/doclist',array('id'=>$vo1['id'])); ?>"><?php echo htmlentities($vo1['name']); ?>
                        <span class="layui-badge layui-bg-gray doclittag"><?php echo htmlentities(catecount($vo1['id'])); ?></span>
                      </a>
                    </dd>
                  <?php endif; ?>
                <?php endforeach; endif; else: echo "" ;endif; ?>
              </dl>
            </li>
          <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
      </div>
      <!-- 右侧分类结束 -->

      <!-- 广告 -->

      <!-- 友情链接 -->
<div class="fly-panel fly-link">
    <h3 class="fly-panel-title">友情链接</h3>
    <dl class="fly-panel-main">
        <?php if(empty($flink) || (($flink instanceof \think\Collection || $flink instanceof \think\Paginator ) && $flink->isEmpty())): ?>
        <div class="fly-none" style="min-height:50px;padding-top: 30px;">没有相关数据</div>
        <?php endif; if(is_array($flink) || $flink instanceof \think\Collection || $flink instanceof \think\Paginator): $i = 0; $__LIST__ = $flink;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <dd> <a href="<?php echo htmlentities($vo['url']); ?>" target="_blank" alt="<?php echo htmlentities($vo['name']); ?>" class="flink"><?php echo htmlentities($vo['name']); ?></a></dd>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </dl>
</div>
<!-- 友情链接结束 -->

    </div>
  </div>

</div>
<!-- 主体结束 -->
<script>
  layui.config({
    version: "3.0.0"
    ,base: 'http://127.0.0.1:8000/static/theme/blueideal/mods/' //这里实际使用时，建议改成绝对路径
  }).extend({
    fly: 'index'
  }).use('fly');
</script>

<div class="fly-footer">
  <p>
    <?php if(is_array($navlist['bottom']) || $navlist['bottom'] instanceof \think\Collection || $navlist['bottom'] instanceof \think\Paginator): $i = 0; $__LIST__ = $navlist['bottom'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
      <a href="<?php echo htmlentities($vo['link']); ?>" alt="<?php echo htmlentities($vo['alias']); ?>" <?php if($vo['target'] > 1): ?> target="_blank"<<?php endif; ?>><?php echo htmlentities($vo['name']); ?></a>
    <?php endforeach; endif; else: echo "" ;endif; ?>
  </p>
  <p>2022 &copy; <a href="http://www.boyanglee.com/" target="_blank">迷奇出品，必属精品</a><?php echo config('web_config.site_icp'); ?> 客服电话：<?php echo config('web_config.site_tel'); ?></p> <div style="display: none;">
  <?php echo config('web_config.statistics_code'); ?>
</div>
</div>
</body>
</html>